package com.diver.flinkdemo.dto.xxt;



import com.diver.flinkdemo.utils.excel.ExcelAnnotation;

import java.io.Serializable;

/**
 * 首页 接收信息对象
 * Created by Cao Ye on 2018/07/05.
 */
public class ManageRecordInfoDto implements Serializable {
    // 序列化版本
    private static final long serialVersionUID = -7059103537844076544L;

    //学生名字
    @ExcelAnnotation(exportTitleName = "姓名")
    private String name;

    // 学校名称
    @ExcelAnnotation(exportTitleName = "学校")
    private String schoolName;
    // 年级
    @ExcelAnnotation(exportTitleName = "年级")
    private String gradeName;
    // 班级
    @ExcelAnnotation(exportTitleName = "班级")
    private String className;
    //时间
    @ExcelAnnotation(exportTitleName = "时间")
    private String timeStamp;
    //经度
    private String lon;
    //纬度
    private String lat;
    //地址
    @ExcelAnnotation(exportTitleName = "地址")
    private String address;

    //标签
    @ExcelAnnotation(exportTitleName = "状态")
    private String tips;
    //定位方式
    @ExcelAnnotation(exportTitleName = "定位方式")
    private String locateMode;

    private String gpsEffective;//gps定位精度

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        if ("deviationTrajectory".equals(tips)) {
            this.tips = "轨迹偏离";
        } else if ("longStay".equals(tips)) {
            this.tips = "长时间停留";
        } else {
            this.tips = tips;

        }
    }

    public String getLocateMode() {
        return locateMode;
    }

    public void setLocateMode(String locateMode) {
        this.locateMode = locateMode;
    }

    public String getGpsEffective() {
        return gpsEffective;
    }

    public void setGpsEffective(String gpsEffective) {
        this.gpsEffective = gpsEffective;
    }
}
